package com.siashan.toolkit.spring.exception;

import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * <p>全局异常拦截启动类</p>
 * <p>使用方法：在SpringBoot的Application启动类上添加此注解即可</p>
 * @author siashan
 * @version V1.0.1
 */
@Target({ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Inherited
@Import({
        GlobalExceptionHandler.class,
})
public @interface EnableClobalException {
}
